﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Resto.CostControl.Core.Models.SysSettings
{
    [Table("V_UserPermissions")]
    public class V_UserPermissions
    {
        [Display(Name = "权限标识")]
        public string PrivilegeCode { get; set; }

        [Display(Name = "权限名称")]
        public string PrivilegeName { get; set; }

        /// <summary>
        /// 权限类型，分为菜单权限和普通权限
        /// </summary>
        [Display(Name = "权限类型")]
        public string PrivilegeType { get; set; }

        public string Uri { get; set; }

        public Int32 ChildCount { get; set; }

        public string ParentID { get; set; }

        public string UserUID { get; set; }

    }
}
